package net.zoneland.zrdp.common.enums;

import lombok.Getter;

/**
 * 是否枚举.
 * @author helu
 * @version v1.0
 */
@Getter
public enum YesOrNoEnum implements BaseEnum<Integer> {

    YES(1, "是"),
    NO(0, "否");

    /** 枚举值. **/
    private final Integer value;
    /** 枚举名称. **/
    private final String name;

    YesOrNoEnum(final Integer value, final String name) {
        this.value = value;
        this.name = name;
    }
}
